package br.com.naybee.service.loginfs;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

import br.com.naybee.domain.loginbs.LoginBs;
import br.com.naybee.framework.client.core.FrontServiceController;
import br.com.naybee.framework.client.models.Model;

@Controller
@RequestMapping("loginFs")
public class LoginFs extends FrontServiceController{

	@Autowired
	private LoginBs loginBs;

	@ResponseBody
	@RequestMapping(value = "realizarLogin", method = RequestMethod.POST)
	public Model realizarLogin(@RequestBody Model param) {
		return loginBs.realizarLogin(param);
	}

}
